repo-file: Base OstreeRepoFile on trees instead of commits
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 7 Sep 2013 03:27:45 +0000 (23:27 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 10 Sep 2013 02:31:59 +0000 (22:31 -0400)
commit33db74d0ce0adbc790574351bb1d9d21f55edbda
tree4d4b61ccff992f6e1711b5f7dc5889905a5104cf
parentac2d61dd515e547df6e1fc9e9d438783a201848d
repo-file: Base OstreeRepoFile on trees instead of commits

We want an OstreeRepoFile to be the way to represent a filesystem tree
inside an ostree repository. In order to do this, we need to drop the
commit from an OstreeRepoFile, and make that go to callers.

Switch all current users of ostree_repo_file_new_root to
ostree_repo_read_commit, and make the actual constructor private.

https://bugzilla.gnome.org/show_bug.cgi?id=707727
src/libgsystem
src/libostree/ostree-repo-file.c
src/libostree/ostree-repo-file.h
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c
src/ostree/ot-admin-deploy.c
src/ostree/ot-builtin-checkout.c